cheapo dc
Author
Mikko Apo (apo@iki.fi)
Check out my pages for more buzz stuff and music.
Excellent skin made by Hymax.
Short description
"cheapo dc" is designed to calculate and fix DC offset from your sound data.
Usage
  1. Connect "cheapo dc" as a normal effect.
  2. Play your song.
  3. When you want to check the DC offset go to "[Machines]" view, right click on the "cheapo dc" machine and select from the menu "Analysis".
  4. Check the suggested value. If there is no suggested value then it is not possible to fix the dc offset without clipping the sound.
  5. Set the proper value to the Increment parameter.
You can reset the statistical data from the menu option "Reset analysis".
Parameters
NameMin.Max.DefaultDescription
Increment06553432767Increment offset [min 0=-32767,mid 32767=+0,max 65534=+32767]
Inertia0163841Inertia in ticks
Attributes
What does DC offset mean?
16bit sound sample data contains values between -32768 and +32767. When you sample a sound, the values have optimally mid point at zero, so when you look at the graph of the sample with a sound editor, you should see a nice waveform which is centered at the middle of the graph.

When a sample has DC offset, it is not centered at the middle, but it is either below or over the center axis. Sound data is usually distributed equally below and over the center axis so when you have DC offset, the dynamical range of the sound is limitted which means that the sound can't be as loud as it could be. A large DC offset also causes snaps when the sample ends, because the signal drops fast from the offset level to the real zero level.